package com.jshare.service;

import java.util.List;

import com.jshare.entity.Tiezi;
import com.jshare.entity.TzReply;
import com.jshare.tiezi.use.fenye.PageInfo;

public interface TieziService {
	void addTiezi(Tiezi tie);
	List<Tiezi> getAllTies();
	PageInfo getAllTiesByFenye(int curPage, int pageSize, String sql);
	Tiezi findById(Integer id);
	void addTzReply(TzReply tr);
	PageInfo getSingleTieAndReply(int curPage, int pageSize, Integer tiezi_id);
}
